/**
 * 广寒宫
 * 网址:www.guanghangong.xyz
 */
package com.moon.admin.framework.sysid.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Getter;
import lombok.Setter;

/**
 * id主键生成（目前用于生成编号）
 * @author moon
 */
@Getter
@Setter
@TableName("sys_id")
public class SysId {

    /**业务类型*/
    @TableId(type=IdType.INPUT,value="type")
    private String type;
    private Integer id;

    public SysId(){}

    public SysId(String type, Integer id) {
        this.type = type;
        this.id = id;
    }
}